x86: cpufreq get_cur_val adjustment
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 11 Feb 2009 13:07:45 +0000 (13:07 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 11 Feb 2009 13:07:45 +0000 (13:07 +0000)
commit146902cadaca60127286c990ed8504e27d895b74
tree6017abd2b881de8c5a21e4c7111bb0717852507c
parent9328d296ee16d501bb7253ca131dca57e440e3e1
x86: cpufreq get_cur_val adjustment

c/s 19149 update cpufreq get_cur_val logic to avoid cross processor
call. However, to avoid null drv_data pointer, we adjust some logic in
this patch to keep advantage of c/s 19149 and at same time to avoid
null drv_data pointer.

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
xen/arch/x86/acpi/cpufreq/cpufreq.c